package com.song.login.controller;

import java.io.IOException;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
@RequestMapping("/test")
public class TestController {

	
	@RequestMapping("/role1")
	public String test(ModelMap map)
	{
		map.put("remark", "/test/role1");
		return "/index";
	}
	
	@RequestMapping("/role2")
	public String test2(ModelMap map)
	{
		map.put("remark", "/test/role2");
		return "/index";
	}
	
	
	
}
